package org.jeecg.modules.demo.property.service;

import org.jeecg.modules.demo.property.entity.ZnzfComplaint;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.property.entity.ZnzfComplaintParam;

import java.util.List;

/**
 * @Description: 投诉建议
 * @Author: jeecg-boot
 * @Date:   2022-03-29
 * @Version: V1.0
 */
public interface IZnzfComplaintService extends IService<ZnzfComplaint> {

    /**
     * 根据submiter找到
     * @param submiter
     * @return
     */
    List<ZnzfComplaint> getBySubmiter(String submiter);

    /**
     *   添加一条投诉建议
     * @param znzfComplaintParam
     * @return
     */
    void addComplaint(ZnzfComplaintParam znzfComplaintParam);

    /**
     * 查找所有投诉信息
     * @return
     */
    List<ZnzfComplaint> queryAllComplaint();
}
